package provider

import (
	"gitee.com/Luna-CY/Golang-Project-Template/internal/context"
	"gitee.com/Luna-CY/Golang-Project-Template/internal/errors"
)

type Provider interface {
	// GetName 获取提供商名称
	GetName() string

	// Send 发送短信
	Send(ctx context.Context, telephone string, templateCode string, templateParams map[string]string) errors.Error
}
